libmystdio.a :mystdio.o
	ar -rc $@ $^
	@echo "ar -rc ...... done"
%.o:%.c
	gcc -c $<
	@echo "gcc -c ...... done"
.PHONY:clean
clean:
	rm -f *.a *.o stdc
	@echo "clean ...... done"
.PHONY:output
	@mkdir -p stdc/include
	@mkdir -p stdc/lib
	@cp -f *.h stdc/include
	@cp -f *.a stdc/lib
	@tar -czf stdc.tgz stdc //将stdc打包压缩
	@echo "output stdc ..... done"
